4.3 Archiving the System Events

You can set up MyID to archive the contents of the system events table in the MyID database periodically in a similar way to archiving the Audit table; see section 4.2, Archiving the audit trail.

You can use the LogEventsArchive table, and a stored procedure, sp_ArchiveLogEvents.

Set up a SQL Timed Task on your MyID database to run the sp_ArchiveLogEvents procedure periodically. The syntax is as follows:

sp_ArchiveLogEvents '<archivedatabase>', <daysOld>

where: